<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Springboot系统</title>
    <style>
        body {
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }

        header {
            background-color: #007BFF;
            color: white;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        header h1 {
            margin: 0;
            font-size: 24px;
        }

        header a {
            color: white;
            text-decoration: none;
            font-weight: bold;
        }

        .container {
            display: flex;
        }


        .main-content {
            flex: 1;
            padding: 30px;
        }

        .welcome {
            font-size: 20px;
            margin-bottom: 20px;
        }
        
        .user-info {
            display: flex;
            align-items: center;
        }

        .sidebar button, .sidebar a {
            display: block;
            width: 100%;
            padding: 12px 20px;
            text-align: left;
            background: none;
            border: none;
            color: white;
            text-decoration: none;
            font-size: 16px;
            cursor: pointer;
        }

        .sidebar button:hover, .sidebar  {
            background-color: #495057;
        }

        .sidebar {
            width: 200px;
            background-color: #343a40;
            color: white;
            padding-top: 20px;
            min-height: calc(100vh - 60px);
        }



    </style>
</head>
<body>

<header>
    <h1>Springboot登录系统</h1>
    <div class="user-info">
        欢迎你，<span th:text="${user.username}"></span>！
        <a th:href="@{/logout}">退出登录</a>
    </div>
</header>

<div class="container">
        <div class="sidebar">
            <a th:href="@{/manage.html}">用户管理</a>
            <a th:href="@{/manage.html}">功能管理</a>
            <a th:href="@{/manage.html}">个人信息管理</a>
            <a th:href="@{/manage.html}">测试管理</a>
        </div>
    </div>

</div>

</body>
</html>


